[IA64] Fix unwind info of fast_hypercall
authorIsaku Yamahata <yamahata@valinux.co.jp>
Tue, 7 Apr 2009 02:29:44 +0000 (11:29 +0900)
committerIsaku Yamahata <yamahata@valinux.co.jp>
Tue, 7 Apr 2009 02:29:44 +0000 (11:29 +0900)
This patch fixes unwind info of fast_hypercall.
fast_hypercall uses r32->r35 without alloc instruction.
In the case of this, the unwind info move over a little.

With my patch, I confirmed the stack trace worked fine.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
xen/arch/ia64/xen/ivt.S

index 7c5ac5f04c811183ec52f6325016322ee68209a9..682c84698411e89d95042d1f851a8eea3d0409f2 100644 (file)
@@ -689,7 +689,7 @@ fast_hypercall:
        bsw.1                                   // B (6 cyc) regs are saved, switch to bank 1
        ;;
 
-       PT_REGS_UNWIND_INFO(0)
+       PT_REGS_UNWIND_INFO(-48)
        ssm psr.ic | PSR_DEFAULT_BITS           // M2   now it's safe to re-enable intr.-collection
 //     movl r3=ia64_ret_from_syscall           // X
        ;;